//
//  FindDeviceViewController.swift
//  OnceNectar
//
//  Created by 法正磊 on 2018/2/27.
//  Copyright © 2018年 com.inwhoop. All rights reserved.
//

import UIKit

class FindDeviceViewController: BaseViewController, BottomShadow {
    @IBOutlet weak var mainView: UIView!
    @IBOutlet weak var deviceNameLabel: UILabel!
    
    override func viewDidLoad() {
        super.viewDidLoad()
        setUI()
    }
    
    func setUI() {
        titleLabel(text: "创建场景", nil)
        setShadow(view: mainView, opacity: bottomShadowOpacity, size: bottomShadowOffset, color: UIColor.black, cornerradius: CORNERRADIUS)
    }

    @IBAction func addTap(_ sender: UIButton) {
        let vc = navigationController?.viewControllers[1]
        if let viewController = vc {
            navigationController?.popToViewController(viewController, animated: true)
        }
    }
}
